package com.scs.application.modules.wm.service;

import com.scs.application.core.service.IBaseService;
import com.scs.application.modules.sys.model.RestResult;
import com.scs.application.modules.wm.dto.ProcessDTO;
import com.scs.application.modules.wm.entity.StockProcess;

/**
 * <p>
 * Service
 * </p>
 */

public interface StockProcessService extends IBaseService<StockProcess> {

    //加工
    Boolean process(ProcessDTO stockProcess);

    //提交
    StockProcess submit(StockProcess stockProcess);

    //撤销提交
    Boolean unSubmit(StockProcess stockProcess);

    //撤销加工
    Boolean unProcess(StockProcess stockProcess);

    //根据SN获取加工信息
    StockProcess barCodeScan(String sn, Integer processType);

    /**
    * @Description： 上架
     * @return
    */
    RestResult submitUp(StockProcess stockProcess);
}
